package cn.wolfcode.wolf2w.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 景点
 */
@Setter
@Getter
@Document("spot")
@ToString
public class Spot extends BaseDomain {
    private String name;        //景点名
    private String tep;          //电话
    private int viewCounts ;     //浏览次数
    private int usertime;   //时间
    private String pic ;


 /*   public String getJsonString(){
        Map<String, Object> map = new HashMap<>();
        map.put("id",id);
        map.put("name",name);
        map.put("sn",sn);
        map.put("refIds",getRefIds());
        map.put("ishot",ishot);
        map.put("sequence",sequence);
        map.put("info",info);
        return JSON.toJSONString(map);*/
    }
